package com.project2.bean.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class MarketCoupon {
    private Integer id;
    private String name;
    private String desc;
    private String tag;
    private Integer total;
    private Double discount;
    private Double min;
    private Short limit;
    private Short type;
    private Short status;
    private Short goodsType;
    private Integer[] goodsValue;
    private String code;
    private Short timeType;
    private Short days;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date addTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    private Boolean deleted;
}